package zhr.chapter7;

public class Example7_4 {
    public static void main(String[] args) {
        String names = "C,C++,C#,Java,Jsp,Asp.net,php";
        String[] name = names.split(",");
        System.out.println("共有" + name.length + "种语言,依次是");
        for (String s : name) {
            System.out.println(s);
        }
    }
}
